using System.Collections.Generic;

namespace MyApp.WebApi.Entity
{
    public class UsersGoods : BaseModel
    {
        public int GoodsId { get; set; }

        public int UsersId { get; set; }

        public int CommentsId { get; set; }

        //自动构建对应表的主外键关系
        public virtual Users User { get; set; }
        public virtual Goods Good { get; set; }
        public virtual Comments Comment { get; set; }

    }
}
